//
//  CMDBRelatedUserBean.swift
//  CMDB
//
//  Created by 曹桂祥 on 2017/5/23.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

/*
 string	uid	f77f4f25ad5f9249a1d530f6ce2399fd	用户uid
 string	name	成龙	姓名
 string	useNames	['陈港生','房XX']	曾用名
 string	icon	http://pic.58pic.com/58pic/14/00/69/66858PICNfJ_1024.jpg	用户头像
 string	letter	成	名字首字母
 int	cooperateCount	20	合作数量
 list	atags
 */

public class CMDBRelatedUserBean: NSObject {
    
    //用户id
    var uid : String = ""
    
    //name
    var name : String = ""
    
    //usedNames
    var useNames : String = ""
    
    //icon
    var icon : String = ""
    
    //letter
    var letter : String = ""
    
    //cooperateCount
    var cooperateCount : Int = 0
    
    var atags : Array<CMDBAtibuteTagBean>?
}

extension CMDBRelatedUserBean : DictModelProtocol{
    
    public static func customClassMapping() -> [String : String]? {
        return ["atags":"CMDBAtibuteTagBean"]
    }
    
}
